summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpasha (biblio) <pasha@bell01.com>2023-05-14 10:02:31 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-15 18:53:54 +0200
commit29022553fcf90f0002348721c665087d04da4004 (patch)
tree0cd62d7e7d3a88448ea42998d1fae3b6cbc11536
parent1c639ecd6df03df7a04368b0aca077d17ff92ce4 (diff)
remove acpi for 64-bit debugging and acpi building doc
Message-Id: <20230514080231.1923-1-pasha@bell01.com>
-rw-r--r--hurd/building.mdwn6
-rw-r--r--microkernel/mach/gnumach/debugging.mdwn14
2 files changed, 14 insertions, 6 deletions
diff --git a/hurd/building.mdwn b/hurd/building.mdwn
index 7cfc7c7e..63c33498 100644
--- a/hurd/building.mdwn
+++ b/hurd/building.mdwn
@@ -93,6 +93,12 @@ or `/local/`, so your current Hurd servers will be replaced.
To install to a different location, specify `--prefix=PREFIX` as `configure`
parameter, e.g. `--prefix=/usr` (as done when having a real `/usr`).
+To build acpi:
+
+ $ make acpi
+
+You may need to install necessary acpi headers (`libacpica-dev` package in Debian based distro).
+
By default profiling versions of all the libraries and code are generated but
this is useless in most of the cases, so we disable them by specifying
`--disable-profile` on `configure`'s command line.
diff --git a/microkernel/mach/gnumach/debugging.mdwn b/microkernel/mach/gnumach/debugging.mdwn
index 0e4898be..0bf0ee79 100644
--- a/microkernel/mach/gnumach/debugging.mdwn
+++ b/microkernel/mach/gnumach/debugging.mdwn
@@ -130,7 +130,10 @@ working directory. For example:
## Debug 64-bit gnumach
-[[build|microkernel/mach/gnumach/building/]] 64-bit gnumach
+[[build|microkernel/mach/gnumach/building/]] 64-bit gnumach with:
+
+ $ export CFLAGS=-g
+ $ ../configure --enable-kdb ...
run a spare Hurd vm (prepare for data loss in vm):
@@ -151,14 +154,13 @@ example `/boot/grub/grub.cfg`:
multiboot /boot/gnumach-1.8-486.gz root=part:2:device:hd0 console=com0
...
- module /hurd/acpi.static acpi \
- --host-priv-port='${host-port}' --device-master-port='${device-port}' \
- --next-task='${fs-task}' \
- '$(acpi-task=task-create)' '$(task-resume)'
+ echo 'Loading the Hurd ...'
module /hurd/ext2fs.static ext2fs --readonly \
--multiboot-command-line='${kernel-command-line}' \
+ \
+ --host-priv-port='${host-port}' --device-master-port='${device-port}' \
--exec-server-task='${exec-task}' -T typed '${root}' \
- '$(fs-task=task-create)'
+ '$(fs-task=task-create)' '$(task-resume)'
module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'