| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
| |
This code is heavily inspired by Takanori Watanabe's experimental SMP patch
for i386 and large portion was shamelessly cut and pasted from Peter Wemm's
AP boot code.
Notes:
svn path=/head/; revision=189903
|
| |
|
|
| |
Notes:
svn path=/head/; revision=150003
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119531
|
| |
|
|
|
|
|
| |
Brought to you by: a boring talk at OLS
Notes:
svn path=/head/; revision=118030
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to
attempt to get a stable base to start from. There is a lot missing still.
Worth noting:
- The kernel runs at 1GB in order to cheat with the pmap code. pmap uses
a variation of the PAE code in order to avoid having to worry about 4
levels of page tables yet.
- It boots in 64 bit "long mode" with a tiny trampoline embedded in the
i386 loader. This simplifies locore.s greatly.
- There are still quite a few fragments of i386-specific code that have
not been translated yet, and some that I cheated and wrote dumb C
versions of (bcopy etc).
- It has both int 0x80 for syscalls (but using registers for argument
passing, as is native on the amd64 ABI), and the 'syscall' instruction
for syscalls. int 0x80 preserves all registers, 'syscall' does not.
- I have tried to minimize looking at the NetBSD code, except in a couple
of places (eg: to find which register they use to replace the trashed
%rcx register in the syscall instruction). As a result, there is not a
lot of similarity. I did look at NetBSD a few times while debugging to
get some ideas about what I might have done wrong in my first attempt.
Notes:
svn path=/head/; revision=114349
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
where physical addresses larger than virtual addresses, such as i386s
with PAE.
- Use this to represent physical addresses in the MI vm system and in the
i386 pmap code. This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
detection code, and due to kvtop returning vm_paddr_t instead of u_long.
Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.
Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)
Notes:
svn path=/head/; revision=112569
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107618
|
| |
|
|
|
|
|
|
|
|
| |
Loading acpi.ko with kldload is disallowed, however some
functions were executed unexpectedly.
Approved by: re
Notes:
svn path=/head/; revision=107199
|
| |
|
|
|
|
|
|
|
|
| |
proc0.
- Remove unused include.
Sponsored by: The Weather Channel
Notes:
svn path=/head/; revision=105277
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103748
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102291
|
| |
|
|
|
|
|
|
|
|
| |
The new code just override stack top value with saved return address
rather than pop/push operation.
Submitted by: jhb
Notes:
svn path=/head/; revision=101459
|
| |
|
|
|
|
|
|
|
|
| |
This should avoid kernel panic on kernel compiled w/o
NO_CPU_COPTFLAGS.
Suggested by: optimized code by -mcpu=pentiumpro
Notes:
svn path=/head/; revision=101140
|
| |
|
|
| |
Notes:
svn path=/head/; revision=96929
|
| |
|
|
|
|
|
|
| |
Reviewed by: peter@
Obtained from: mux@sneakerz.org
Notes:
svn path=/head/; revision=89179
|
| |
|
|
|
|
|
|
| |
Now AcpiEnterSleep() is light enough, so flushing cache
before the function is not too early.
Notes:
svn path=/head/; revision=89156
|
| |
|
|
| |
Notes:
svn path=/head/; revision=89054
|
| |
|
|
|
|
|
| |
check common verbose flag instead.
Notes:
svn path=/head/; revision=86554
|
| |
|
|
|
|
|
|
|
| |
- clean up wakeup routing fixup code by using macros.
- allocate pte object temporary for kernel thread to avoid kernel
panic by events from sleep button or lid switch.
Notes:
svn path=/head/; revision=86262
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add S4BIOS sleep implementation. This will works well if MIB
hw.acpi.s4bios is set (and of course BIOS supports it and hibernation
is enabled correctly).
- Add DSDT overriding support which is submitted by takawata originally.
If loader tunable acpi_dsdt_load="YES" and DSDT file is set to
acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml),
ACPI CA core loads DSDT from given file rather than BIOS memory block.
DSDT file can be generated by iasl in ports/devel/acpicatools/.
- Add new files so that we can add our proposed additional code to Intel
ACPI CA into these files temporary. They will be removed when
similar code is added into ACPI CA officially.
Notes:
svn path=/head/; revision=86133
|
| |
|
|
|
|
|
| |
supported by the system.
Notes:
svn path=/head/; revision=80160
|
| |
|
|
|
|
|
| |
Fix dangling include of the dear departed acpi_ecreg.h
Notes:
svn path=/head/; revision=80078
|
|
|
Some problems may remain.
Reviewed by:iwasaki
Notes:
svn path=/head/; revision=80028
|